package com.engine.core.gen;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

@ConfigurationProperties("global")
public class Global {
    private Map<Integer,String> typeFormat=new HashMap<>();

    private String dbType="mysql";

    public Map<Integer, String> getTypeFormat() {
        return typeFormat;
    }

    public Map<String,String> aviator;


    private String replaceByName="";

    private String replaceBakName="";

    protected String[] dateformat;

    public void setTypeFormat(Map<Integer, String> typeFormat) {
        this.typeFormat = typeFormat;
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType;
    }

    public String[] getDateformat() {
        return dateformat;
    }

    public void setDateformat(String[] dateformat) {
        this.dateformat = dateformat;
    }

    public String getReplaceByName() {
        return replaceByName;
    }

    public void setReplaceByName(String replaceByName) {
        this.replaceByName = replaceByName;
    }

    public String getReplaceBakName() {
        return replaceBakName;
    }

    public void setReplaceBakName(String replaceBakName) {
        this.replaceBakName = replaceBakName;
    }

    public Map<String, String> getAviator() {
        return aviator;
    }

    public void setAviator(Map<String, String> aviator) {
        this.aviator = aviator;
    }
}
